﻿namespace CAION2.Classes
{
    using System.Collections.Generic;

    using Properties;

    internal static class ClassItem
    {
        internal static readonly Dictionary<string, string> Types = new Dictionary<string, string>();
        
        internal static readonly Dictionary<string, string> Ranks = new Dictionary<string, string>();
                
        static ClassItem()
        {
            Types = new Dictionary<string, string>
                        {
                            { "2HSWORD", Resources.ItemType2HSword },
                            { "AC_HEAD", Resources.ItemTypeHeadA },
                            { "PART", Resources.ItemTypePart },
                            { "MATERIAL", Resources.ItemTypeMaterial },
                            { "BELT", Resources.ItemTypeWaist },
                            { "BERRY", Resources.ItemTypeGathering },
                            { "BOOK", Resources.ItemTypeBook },
                            { "BOW", Resources.ItemTypeBow },
                            { "CH_GLOVE", Resources.ItemTypeChain },
                            { "CH_HEAD", Resources.ItemTypeHead },
                            { "CH_PANTS", Resources.ItemTypeChain },
                            { "CH_SHOES", Resources.ItemTypeChain },
                            { "CH_SHOULDER", Resources.ItemTypeChain },
                            { "CH_TORSO", Resources.ItemTypeChain },
                            { "DAGGER", Resources.ItemTypeDagger },
                            { "EARRING", Resources.ItemTypeEarring },
                            { "FISH", Resources.ItemTypeGathering },
                            { "DROPMATERIAL", Resources.ItemTypeMaterial },
                            { "FOOD", Resources.ItemTypeFood },
                            { "HARVEST", Resources.ItemTypeGathering },
                            { "HERB", Resources.ItemTypeGathering },
                            { "JEWELRY", Resources.ItemTypeMaterial },
                            { "LT_GLOVE", Resources.ItemTypeLeather },
                            { "LT_HEAD", Resources.ItemTypeHead },
                            { "LT_PANTS", Resources.ItemTypeLeather },
                            { "LT_SHOES", Resources.ItemTypeLeather },
                            { "LT_SHOULDER", Resources.ItemTypeLeather },
                            { "LT_TORSO", Resources.ItemTypeLeather },
                            { "MACE", Resources.ItemTypeMace },
                            { "MATTER_OPTION", Resources.ItemTypeStone },
                            { "METAL", Resources.ItemTypeGathering },
                            { "NECKLACE", Resources.ItemTypeNecklace },
                            { "ORB", Resources.ItemTypeOrb },
                            { "OD_N", Resources.ItemTypeMaterial },
                            { "PL_GLOVE", Resources.ItemTypePlate },
                            { "PL_HEAD", Resources.ItemTypeHead },
                            { "PL_PANTS", Resources.ItemTypePlate },
                            { "PL_SHOES", Resources.ItemTypePlate },
                            { "PL_SHOULDER", Resources.ItemTypePlate },
                            { "PL_TORSO", Resources.ItemTypePlate },
                            { "PLANT", Resources.ItemTypeMaterial },
                            { "POLEARM", Resources.ItemTypePolearm },
                            { "POTION", Resources.ItemTypePotion },
                            { "RAWHIDE", Resources.ItemTypeMaterial },
                            { "RB_GLOVE", Resources.ItemTypeRobe },
                            { "RB_HEAD", Resources.ItemTypeHead },
                            { "RB_PANTS", Resources.ItemTypeRobe },
                            { "RB_SHOES", Resources.ItemTypeRobe },
                            { "RB_SHOULDER", Resources.ItemTypeRobe },
                            { "RB_TORSO", Resources.ItemTypeRobe },
                            { "REMEDY", Resources.ItemTypePotion },
                            { "RING", Resources.ItemTypeRing },
                            { "SCROLL", Resources.ItemTypeScroll },
                            { "SHIELD", Resources.ItemTypeShield },
                            { "SHOPMATERIAL", Resources.ItemTypeMaterial },
                            { "STAFF", Resources.ItemTypeStaff },
                            { "SWORD", Resources.ItemTypeSword },
                            { "TREE", Resources.ItemTypeGathering },
                            { "VEGETABLE", Resources.ItemTypeGathering },
                            { "QUEST", Resources.ItemTypeQuest },
                            { "ITEM", Resources.ItemTypeItem },
                            { "SHELL", Resources.ItemTypeGathering },
                            { "SOULSTONE", Resources.ItemTypeStone },
                            { "COMBINESKILL", Resources.ItemTypeStone },
                            { "DEVANION", Resources.ItemTypeStone },
                            { "WING", Resources.ItemTypeWing },
                            { "BOX", Resources.ItemTypeBox },
                            { "CANNON", Resources.ItemTypeCannon },
                            { "GUN", Resources.ItemTypeGun },
                            { "HARP", Resources.ItemTypeHarp },
                            { "KEYBLADE", Resources.ItemTypeKeyblade }
                        };

            Ranks = new Dictionary<string, string>
                        {
                            { "DRACONIC", Resources.ItemRank2 },
                            { "ABYSS", Resources.ItemRank4 },
                            { "DEVANION", Resources.ItemRank3 },
                        };
        }
    }
}
